package com.example.springboot008webmvcconfigurer.Controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: TODO
 * @author: uu
 * @data: 2023/7/4 上午 09:36
 * @version: v1.0
 */
@RestController
public class ArticleController {
    @PostMapping("/article/add")
    public String add(){
        return "add";
    }
    @PostMapping("/article/edit")
    public String editArticle(){
        return "edit";
    }
    @PostMapping("/article/query")
    public String query(){
        return "query";
    }
}
